<template>
	<view>23456</view>
</template>
<script>
	import store from '/common/store.js';
	export default {
		globalData:{
			statusBarHeight:0,
			menuButtonRect:{}
		},
		onLaunch: function() {
			// this.globalData.statusBarHeight = this.setStatusBarHeight();
			// this.globalData.menuButtonRect = this.setMenuButtonBoundingClientRect();
			// uni.showShareMenu({
			//   withShareTicket: true,
			//   menus: ['shareAppMessage', 'shareTimeline']
			// })
		},
		onShow: function() {
			console.log('App Show')
		},
		onHide: function() {
			console.log('App Hide')
		},
		methods:{
			setStatusBarHeight(){
				const windowInfo = uni.getWindowInfo();
				return windowInfo.statusBarHeight;
			},
			
			setMenuButtonBoundingClientRect(){
				const res = uni.getMenuButtonBoundingClientRect();
				return res;
			},
		}
	}
</script>

